<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h1 v-show="isShow">表达式为真，元素显示</h1>
</div>
<script type="text/javascript">
    var vm = new Vue({
        el: '#app',
        data: {
            isShow: true
        }
    });
</script>
</body>
</html>